package String;
//去除当前字符串两边的空白字符串
public class TrimDemo {
    public static void main(String[] args) {
          String str = "   hello world  ";
          str = str.trim();
        System.out.println(str);
    }
}
